Skip to main content
Version: 3.2.0

Encode VL Public Key For Signing

avnSdk.awtUtils.encodeAvnPublicKeyForSigning(
avnPublicKey,
issuedAt,
hasPayer,
payerAddress
);
  • hasPayer: There is a designated account that has registered this user as a user it wants to pay transaction fees for.
  • payerAddress: The address of the aforementioned designated account.
  • avnPublicKey: The VL public key of the account requiring an AWT.
  • issuedAt: The unix timestamp the token should be issued.